/*
 * To change this template, choose Tools | Templates and open the template in
 * the editor.
 */
package eikotrade.javafx.scenes;

import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.paint.Paint;
import javafx.stage.Stage;

/**
 *
 * @author michel
 */
public abstract class EikoTradeScene extends Scene{
    
    private final Stage primaryStage;
    private final Scene caller;

    protected EikoTradeScene(Parent parent, Stage primaryStage, Scene caller) {
        super(parent);
        this.primaryStage = primaryStage;
        this.caller = caller;
    }

    protected EikoTradeScene(Parent parent, Paint paint, Stage primaryStage, Scene caller) {
        super(parent, paint);
        this.primaryStage = primaryStage;
        this.caller = caller;
    }

    protected EikoTradeScene(Parent parent, double d, double d1, Stage primaryStage, Scene caller) {
        super(parent, d, d1);
        this.primaryStage = primaryStage;
        this.caller = caller;
    }

    protected EikoTradeScene(Parent parent, double d, double d1, Paint paint, Stage primaryStage, Scene caller) {
        super(parent, d, d1, paint);
        this.primaryStage = primaryStage;
        this.caller = caller;
    }

    protected EikoTradeScene(Parent parent, double d, double d1, boolean bln, Stage primaryStage, Scene caller) {
        super(parent, d, d1, bln);
        this.primaryStage = primaryStage;
        this.caller = caller;
    }
    
    protected Stage getPrimaryStage(){
        return primaryStage;
    }
    
    protected Scene getCaller(){
        return caller;
    }
    
}
